#762: Add TNTPrimed#setSource method
By: Jakub Zacek <dawon.cz@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/EntityTNTPrimed.java
|
||||
+++ b/net/minecraft/server/EntityTNTPrimed.java
|
||||
@@ -1,6 +1,7 @@
|
||||
@@ -1,13 +1,16 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
@@ -8,9 +8,10 @@
|
||||
|
||||
public class EntityTNTPrimed extends Entity {
|
||||
|
||||
@@ -8,6 +9,8 @@
|
||||
private static final DataWatcherObject<Integer> FUSE_TICKS = DataWatcher.a(EntityTNTPrimed.class, DataWatcherRegistry.b);
|
||||
@Nullable
|
||||
private EntityLiving source;
|
||||
- private EntityLiving source;
|
||||
+ public EntityLiving source; // PAIL private -> public
|
||||
private int fuseTicks;
|
||||
+ public float yield = 4; // CraftBukkit - add field
|
||||
+ public boolean isIncendiary = false; // CraftBukkit - add field
|
||||
|
||||
Reference in New Issue
Block a user