diff options
author | Senmori <thesenmori@gmail.com> | 2018-08-25 01:35:40 -0400 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-26 18:17:55 +1000 |
commit | a677257885de9baf0bda21975380ae0ec7d2c6a9 (patch) | |
tree | 82444c906b9af45c77f9973627d306ccfe689af5 /src/main | |
parent | ce1af0c348a8477f9ec58d79e6267e9226dc5dba (diff) | |
download | craftbukkit-a677257885de9baf0bda21975380ae0ec7d2c6a9.tar craftbukkit-a677257885de9baf0bda21975380ae0ec7d2c6a9.tar.gz craftbukkit-a677257885de9baf0bda21975380ae0ec7d2c6a9.tar.lz craftbukkit-a677257885de9baf0bda21975380ae0ec7d2c6a9.tar.xz craftbukkit-a677257885de9baf0bda21975380ae0ec7d2c6a9.zip |
Add additional tests for CraftBlockData
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java b/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java index 8ee5d217..d470e2b3 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java +++ b/src/main/java/org/bukkit/craftbukkit/block/data/CraftBlockData.java @@ -352,6 +352,7 @@ public class CraftBlockData implements BlockData { private static final Map<Class<? extends Block>, Function<IBlockData, CraftBlockData>> MAP = new HashMap<>(); static { + //<editor-fold desc="CraftBlockData Registration" defaultstate="collapsed"> register(net.minecraft.server.BlockAnvil.class, org.bukkit.craftbukkit.block.impl.CraftAnvil::new); register(net.minecraft.server.BlockBanner.class, org.bukkit.craftbukkit.block.impl.CraftBanner::new); register(net.minecraft.server.BlockBannerWall.class, org.bukkit.craftbukkit.block.impl.CraftBannerWall::new); @@ -460,6 +461,7 @@ public class CraftBlockData implements BlockData { register(net.minecraft.server.BlockWitherSkull.class, org.bukkit.craftbukkit.block.impl.CraftWitherSkull::new); register(net.minecraft.server.BlockWitherSkullWall.class, org.bukkit.craftbukkit.block.impl.CraftWitherSkullWall::new); register(net.minecraft.server.BlockWoodButton.class, org.bukkit.craftbukkit.block.impl.CraftWoodButton::new); + //</editor-fold> } private static void register(Class<? extends Block> nms, Function<IBlockData, CraftBlockData> bukkit) { |