mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-30 19:40:37 +01:00
Deprecate unused VehicleEntityCollisionEvent methods (#8498)
This commit is contained in:
parent
d786bfda5c
commit
4fad96576f
1 changed files with 27 additions and 0 deletions
|
@ -489,6 +489,33 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
@Warning(false)
|
||||
public class PlayerShowEntityEvent extends PlayerEvent {
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/event/vehicle/VehicleEntityCollisionEvent.java b/src/main/java/org/bukkit/event/vehicle/VehicleEntityCollisionEvent.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/event/vehicle/VehicleEntityCollisionEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/vehicle/VehicleEntityCollisionEvent.java
|
||||
@@ -0,0 +0,0 @@ public class VehicleEntityCollisionEvent extends VehicleCollisionEvent implement
|
||||
this.cancelled = cancel;
|
||||
}
|
||||
|
||||
+ @Deprecated(forRemoval = true) // Paper - Unused
|
||||
public boolean isPickupCancelled() {
|
||||
return cancelledPickup;
|
||||
}
|
||||
|
||||
+ @Deprecated(forRemoval = true) // Paper - Unused
|
||||
public void setPickupCancelled(boolean cancel) {
|
||||
cancelledPickup = cancel;
|
||||
}
|
||||
|
||||
+ @Deprecated(forRemoval = true) // Paper - Unused
|
||||
public boolean isCollisionCancelled() {
|
||||
return cancelledCollision;
|
||||
}
|
||||
|
||||
+ @Deprecated(forRemoval = true) // Paper - Unused
|
||||
public void setCollisionCancelled(boolean cancel) {
|
||||
cancelledCollision = cancel;
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/generator/ChunkGenerator.java b/src/main/java/org/bukkit/generator/ChunkGenerator.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/generator/ChunkGenerator.java
|
||||
|
|
Loading…
Add table
Reference in a new issue