fix allowPermanentBlockBreakExploits config
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
this(EntityType.TNT, level);
|
||||
this.setPos(x, y, z);
|
||||
- double d = level.random.nextDouble() * (float) (Math.PI * 2);
|
||||
+ double d = this.random.nextDouble() * (float) (Math.PI * 2); // Paper - Don't use level random in entity constructors
|
||||
+ double d = this.random.nextDouble() * (float) (Math.PI * 2); // Paper - Don't use level random in entity constructors
|
||||
this.setDeltaMovement(-Math.sin(d) * 0.02, 0.2F, -Math.cos(d) * 0.02);
|
||||
this.setFuse(80);
|
||||
this.xo = x;
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
}
|
||||
|
||||
if (i > 5) {
|
||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.callRaidStopEvent(this, org.bukkit.event.raid.RaidStopEvent.Reason.UNSPAWNABLE); // CraftBukkit
|
||||
+ org.bukkit.craftbukkit.event.CraftEventFactory.callRaidStopEvent(this, org.bukkit.event.raid.RaidStopEvent.Reason.UNSPAWNABLE); // CraftBukkit
|
||||
this.stop();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user