anchor shield mechanic not working
This commit is contained in:
parent
b79edb8959
commit
f0bf035b16
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -3,7 +3,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'com.newt-tech'
|
||||
version = '1.4-BETA'
|
||||
version = '1.5-BETA'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
Binary file not shown.
BIN
build/libs/CoswayUtil-1.4-BETA.jar
Normal file
BIN
build/libs/CoswayUtil-1.4-BETA.jar
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
name: CoswayUtil
|
||||
version: '1.4-BETA'
|
||||
version: '1.5-BETA'
|
||||
main: CoswayUtil.CoswayUtil
|
||||
description: "utility plugin for Cosway servers, a yescraft network server"
|
||||
api-version: '1.21'
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -140,7 +140,7 @@ public final class CoswayUtil extends JavaPlugin {
|
||||
}
|
||||
|
||||
private ArmorStand spawnMarker(Location loc) {
|
||||
ArmorStand marker = loc.getWorld().spawn(loc.add(0.5, 1, 0.5), ArmorStand.class);
|
||||
ArmorStand marker = loc.getWorld().spawn(loc.add(0.5, 0, 0.5), ArmorStand.class);
|
||||
marker.setInvisible(true);
|
||||
marker.setInvulnerable(true);
|
||||
marker.setMarker(true);
|
||||
@ -213,9 +213,8 @@ public final class CoswayUtil extends JavaPlugin {
|
||||
@EventHandler
|
||||
public void onBlockPlace(BlockPlaceEvent event) {
|
||||
Location loc = event.getBlockPlaced().getLocation();
|
||||
Bukkit.broadcastMessage("block placed");
|
||||
if (isMultiBlock(loc)) {
|
||||
Bukkit.broadcastMessage("Multiblock made");
|
||||
serverMessage("Multiblock made");
|
||||
manageAnchor(loc); // Start managing the anchor once the multi-block structure is assembled
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: CoswayUtil
|
||||
version: '1.4-BETA'
|
||||
version: '1.5-BETA'
|
||||
main: CoswayUtil.CoswayUtil
|
||||
description: "utility plugin for Cosway servers, a yescraft network server"
|
||||
api-version: '1.21'
|
||||
|
Loading…
Reference in New Issue
Block a user