Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wdog5 committed Feb 2, 2024
1 parent e511738 commit 4fbba37
Show file tree
Hide file tree
Showing 3 changed files with 2,036 additions and 10 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ remapSpigotJar {
excludes.add('org/bukkit/craftbukkit/v1_20_R3/command/ColouredConsoleSender')
excludes.add('org/bukkit/craftbukkit/v1_20_R3/util/ServerShutdownThread')
excludes.add('org/bukkit/craftbukkit/v1_20_R3/util/TerminalConsoleWriterThread')
excludes.add('org/bukkit/craftbukkit/v1_20_R3/CraftWorld.class')
excludes.add('org/bukkit/craftbukkit/v1_20_R3/CraftWorld$1.class')
excludes.add('org/bukkit/craftbukkit/v1_20_R3/CraftWorld$2.class')
excludes.add('org/bukkit/craftbukkit/v1_20_R3/CraftWorld$3.class')
excludesApi.add('org/bukkit/event/block/BlockCookEvent.class')
excludesApi.add('org/bukkit/event/Event$Result.class')
excludesApi.add('org/bukkit/plugin/java/JavaPluginLoader$1.class')
Expand Down
10 changes: 0 additions & 10 deletions src/main/java/com/mohistmc/banner/mixin/BannerMixinPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,6 @@ public class BannerMixinPlugin implements IMixinConfigPlugin {
new MethodNode(Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC, "bindPlayerMobs", "Lnet/minecraft/world/InteractionResult;", "Lnet/minecraft/world/entity/player/Player;Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/InteractionHand;", null)
)
))
.put("net.minecraft.server.level.TicketType",
Maps.immutableEntry(
ImmutableList.of(
new FieldNode(Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC | Opcodes.ACC_FINAL, "PLUGIN",
"Lnet/minecraft/server/level/TicketType;", null, null),
new FieldNode(Opcodes.ACC_PUBLIC | Opcodes.ACC_STATIC | Opcodes.ACC_FINAL, "PLUGIN_TICKET",
"Lnet/minecraft/server/level/TicketType;", null, null)
),
ImmutableList.of()
))
.build();

@Override
Expand Down
Loading

0 comments on commit 4fbba37

Please sign in to comment.