@@ -23,11 +23,11 @@
|
||||
+ }
|
||||
+
|
||||
+ public String getType() {
|
||||
+ return ((MinecraftKey) PotionRegistry.a.b(this.potionRegistry)).toString(); // PAIL: rename
|
||||
+ return ((MinecraftKey) IRegistry.POTION.getKey(this.potionRegistry)).toString();
|
||||
+ }
|
||||
+
|
||||
+ public void setType(String string) {
|
||||
+ a(PotionRegistry.a.get(new MinecraftKey(string))); // PAIL: rename
|
||||
+ a(IRegistry.POTION.get(new MinecraftKey(string)));
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user