mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 19:25:49 -07:00
SPIGOT-1638 / SPIGOT-1673: Rework Potions API
By: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -138,10 +173,10 @@
|
||||
@@ -138,19 +173,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -115,7 +115,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -151,6 +186,7 @@
|
||||
- private boolean n() {
|
||||
+ public boolean n() { // PAIL: rename, access
|
||||
return this.getItem().getItem() == Items.LINGERING_POTION;
|
||||
}
|
||||
|
||||
private void a(BlockPosition blockposition) {
|
||||
if (this.world.getType(blockposition).getBlock() == Blocks.FIRE) {
|
||||
|
Reference in New Issue
Block a user