mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 06:24:27 +00:00
Update forge
This commit is contained in:
1 parent
5f3172bd5d
commit
69db133091
197 files changed
+524
-830
No files matched your search
@@ -32,7 +32,7 @@ public class EntitySignalFlare extends Entity {
|
||||
|
||||
@Override
|
||||
protected void entityInit() {
|
||||
dataWatcher.register(COLOR, 0);
|
||||
dataManager.register(COLOR, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -74,11 +74,11 @@ public class EntitySignalFlare extends Entity {
|
||||
}
|
||||
|
||||
public void setColor(int color) {
|
||||
dataWatcher.set(COLOR, color);
|
||||
dataManager.set(COLOR, color);
|
||||
}
|
||||
|
||||
public int getColor() {
|
||||
return dataWatcher.get(COLOR);
|
||||
return dataManager.get(COLOR);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user