From 26f74c9cf6258a67905bf8423baf63b9bcbe2361 Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sun, 26 Aug 2018 22:07:24 +0100 Subject: [PATCH] Fixed portals being placed with gateways --- build.gradle | 2 +- .../java/com/sekwah/advancedportals/listeners/PortalPlacer.java | 2 +- src/main/resources/plugin.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 8b8f07cf..676e87aa 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'idea' apply plugin: 'eclipse' group = 'com.sekwah.advancedportals' -version = '0.0.44-snapshot' +version = '0.0.45-snapshot' description = "" diff --git a/src/main/java/com/sekwah/advancedportals/listeners/PortalPlacer.java b/src/main/java/com/sekwah/advancedportals/listeners/PortalPlacer.java index f6412fd6..d1c9ecce 100644 --- a/src/main/java/com/sekwah/advancedportals/listeners/PortalPlacer.java +++ b/src/main/java/com/sekwah/advancedportals/listeners/PortalPlacer.java @@ -43,7 +43,7 @@ public class PortalPlacer implements Listener { event.getBlockPlaced().setType(Material.NETHER_PORTAL); } else if (name.equals("\u00A78End Portal Block Placer")){ - event.getBlockPlaced().setType(Material.NETHER_PORTAL); + event.getBlockPlaced().setType(Material.END_PORTAL); } else if (name.equals("\u00A78Gateway Block Placer")){ event.getBlockPlaced().setType(Material.END_GATEWAY); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 0a58c069..4ba3c9aa 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ main: com.sekwah.advancedportals.AdvancedPortalsPlugin name: AdvancedPortals -version: 0.0.44 +version: 0.0.45 author: sekwah41 description: An advanced portals plugin for bukkit. api-version: 1.13