Undeprecate and fix Boat#getBoatMaterial (#8217)

This commit is contained in:
Maddy Miller
2022-08-01 23:02:23 +10:00
parent f0d198d6b2
commit 20a8246572
2 changed files with 1 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // Paper start
+ @Override
+ public org.bukkit.Material getBoatMaterial() {
+ return this.getBoatType().getMaterial();
+ return org.bukkit.craftbukkit.util.CraftMagicNumbers.getMaterial(this.getHandle().getDropItem());
+ }
+ // Paper end
+