Archiviert
13
0

SPIGOT-204: Add way to set block type without using IDs or updating physics.

Dieser Commit ist enthalten in:
md_5 2014-12-22 19:47:37 +11:00
Ursprung 40aaa31c49
Commit 6dfcbc61ab

Datei anzeigen

@ -113,7 +113,12 @@ public class CraftBlock implements Block {
}
public void setType(final Material type) {
setTypeId(type.getId());
setType(type, true);
}
@Override
public void setType(Material type, boolean applyPhysics) {
setTypeId(type.getId(), applyPhysics);
}
public boolean setTypeId(final int type) {