mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-12 10:45:50 -07:00
Revert obsolete "fix" for Redstone Torches
This commit is contained in:
@@ -440,15 +440,12 @@ public class World implements IBlockAccess {
|
||||
}
|
||||
|
||||
public boolean setTypeIdAndData(int i, int j, int k, int l, int i1) {
|
||||
// CraftBukkit start
|
||||
int old = this.getTypeId(i, j, k);
|
||||
if (this.setRawTypeIdAndData(i, j, k, l, i1)) {
|
||||
this.update(i, j, k, l == 0 ? old : l);
|
||||
this.update(i, j, k, l);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
||||
public void notify(int i, int j, int k) {
|
||||
|
Reference in New Issue
Block a user