mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
6c1c28bd14
By: md_5 <git@md-5.net>
10 lines
297 B
Diff
10 lines
297 B
Diff
--- a/net/minecraft/server/TileEntityPiston.java
|
|
+++ b/net/minecraft/server/TileEntityPiston.java
|
|
@@ -104,6 +104,7 @@
|
|
}
|
|
|
|
public void c() {
|
|
+ if (this.world == null) return; // CraftBukkit
|
|
this.j = this.i;
|
|
if (this.j >= 1.0F) {
|
|
this.a(1.0F, 0.25F);
|