mirror of
https://e.coding.net/circlecloud/Residence.git
synced 2025-11-24 21:46:16 +00:00
7
pom.xml
7
pom.xml
@@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>pw.yumc</groupId>
|
<groupId>pw.yumc</groupId>
|
||||||
<artifactId>Residence</artifactId>
|
<artifactId>Residence</artifactId>
|
||||||
<version>2.8.3.1</version>
|
<version>2.8.3.2</version>
|
||||||
<name>Residence</name>
|
<name>Residence</name>
|
||||||
<description>重制版本的领地插件 - 喵♂呜</description>
|
<description>重制版本的领地插件 - 喵♂呜</description>
|
||||||
<build>
|
<build>
|
||||||
@@ -60,12 +60,9 @@
|
|||||||
<properties>
|
<properties>
|
||||||
<update.description>&6GUI菜单上线(&c测试版本 可能存在BUG&6)...</update.description>
|
<update.description>&6GUI菜单上线(&c测试版本 可能存在BUG&6)...</update.description>
|
||||||
<update.changes>
|
<update.changes>
|
||||||
|
&b2.8.3.2 - &c去除铁轨修复补丁(1.8开始无需修复)...;
|
||||||
&b2.8.3.1 - &4修复菜单监听未启用的问题(请删除一次gui.yml)...;
|
&b2.8.3.1 - &4修复菜单监听未启用的问题(请删除一次gui.yml)...;
|
||||||
&b2.8.3.0 - &cGUI菜单测试版上线...;
|
&b2.8.3.0 - &cGUI菜单测试版上线...;
|
||||||
&b2.8.2.3 - &b修改包名 兼容部分老版本插件...;
|
|
||||||
&b2.8.2.2 - &e自动转换UUID版本Residence的数据(部分版本)...;
|
|
||||||
&c修复上个版本命令失效的问题(库文件忘了更新了);
|
|
||||||
&b2.8.2.1 - &c修复一个可能被熊孩子利用导致插件奔溃的BUG...;
|
|
||||||
</update.changes>
|
</update.changes>
|
||||||
<env.GIT_COMMIT>Debug</env.GIT_COMMIT>
|
<env.GIT_COMMIT>Debug</env.GIT_COMMIT>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import org.bukkit.entity.Player;
|
|||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.event.block.Action;
|
import org.bukkit.event.block.Action;
|
||||||
import org.bukkit.event.block.BlockPhysicsEvent;
|
|
||||||
import org.bukkit.event.player.PlayerInteractEvent;
|
import org.bukkit.event.player.PlayerInteractEvent;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
@@ -24,7 +23,6 @@ public class ResidenceBugFix implements Listener {
|
|||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
plugin.getLogger().info("防刷甘蔗补丁已加载...");
|
plugin.getLogger().info("防刷甘蔗补丁已加载...");
|
||||||
plugin.getLogger().info("防刷单元补丁已加载...");
|
plugin.getLogger().info("防刷单元补丁已加载...");
|
||||||
plugin.getLogger().info("防刷铁轨补丁已加载...");
|
|
||||||
plugin.getLogger().info("防刷生物补丁已加载...");
|
plugin.getLogger().info("防刷生物补丁已加载...");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,18 +110,6 @@ public class ResidenceBugFix implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
|
||||||
public void onRailsPhysics(final BlockPhysicsEvent e) {
|
|
||||||
final Material mat = e.getChangedType();
|
|
||||||
if (mat == Material.RAILS || mat == Material.POWERED_RAIL || mat == Material.ACTIVATOR_RAIL || mat == Material.DETECTOR_RAIL) {
|
|
||||||
e.setCancelled(true);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@EventHandler
|
|
||||||
public void onSugarCanePhysics(final BlockPhysicsEvent e) {
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean checkAround(final Block b) {
|
private boolean checkAround(final Block b) {
|
||||||
final Block be = b.getRelative(BlockFace.EAST);
|
final Block be = b.getRelative(BlockFace.EAST);
|
||||||
final Block bw = b.getRelative(BlockFace.WEST);
|
final Block bw = b.getRelative(BlockFace.WEST);
|
||||||
|
|||||||
Reference in New Issue
Block a user