Ursprung
16c85ac8b4
Commit
ae8ba16a7e
@ -537,10 +537,8 @@ public class PacketContainer implements Serializable {
|
|||||||
* This modifier will automatically marshall between the visible ProtocolLib ChunkPosition and the
|
* This modifier will automatically marshall between the visible ProtocolLib ChunkPosition and the
|
||||||
* internal Minecraft ChunkPosition.
|
* internal Minecraft ChunkPosition.
|
||||||
*
|
*
|
||||||
* @deprecated ChunkPosition no longer exists.
|
|
||||||
* @return A modifier for ChunkPosition list fields.
|
* @return A modifier for ChunkPosition list fields.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public StructureModifier<List<ChunkPosition>> getPositionCollectionModifier() {
|
public StructureModifier<List<ChunkPosition>> getPositionCollectionModifier() {
|
||||||
// Convert to and from the ProtocolLib wrapper
|
// Convert to and from the ProtocolLib wrapper
|
||||||
return structureModifier.withType(
|
return structureModifier.withType(
|
||||||
|
@ -281,7 +281,7 @@ public abstract class EnumWrappers {
|
|||||||
TITLE_ACTION_CLASS = getEnum(PacketType.Play.Server.TITLE.getPacketClass(), 0);
|
TITLE_ACTION_CLASS = getEnum(PacketType.Play.Server.TITLE.getPacketClass(), 0);
|
||||||
WORLD_BORDER_ACTION_CLASS = getEnum(PacketType.Play.Server.WORLD_BORDER.getPacketClass(), 0);
|
WORLD_BORDER_ACTION_CLASS = getEnum(PacketType.Play.Server.WORLD_BORDER.getPacketClass(), 0);
|
||||||
COMBAT_EVENT_TYPE_CLASS = getEnum(PacketType.Play.Server.COMBAT_EVENT.getPacketClass(), 0);
|
COMBAT_EVENT_TYPE_CLASS = getEnum(PacketType.Play.Server.COMBAT_EVENT.getPacketClass(), 0);
|
||||||
PLAYER_DIG_TYPE_CLASS = getEnum(PacketType.Play.Client.BLOCK_DIG.getPacketClass(), 0);
|
PLAYER_DIG_TYPE_CLASS = getEnum(PacketType.Play.Client.BLOCK_DIG.getPacketClass(), 1);
|
||||||
PLAYER_ACTION_CLASS = getEnum(PacketType.Play.Client.ENTITY_ACTION.getPacketClass(), 0);
|
PLAYER_ACTION_CLASS = getEnum(PacketType.Play.Client.ENTITY_ACTION.getPacketClass(), 0);
|
||||||
SCOREBOARD_ACTION_CLASS = getEnum(PacketType.Play.Server.SCOREBOARD_SCORE.getPacketClass(), 0);
|
SCOREBOARD_ACTION_CLASS = getEnum(PacketType.Play.Server.SCOREBOARD_SCORE.getPacketClass(), 0);
|
||||||
PARTICLE_CLASS = getEnum(PacketType.Play.Server.WORLD_PARTICLES.getPacketClass(), 0);
|
PARTICLE_CLASS = getEnum(PacketType.Play.Server.WORLD_PARTICLES.getPacketClass(), 0);
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren