Fixed portals being placed with gateways

This commit is contained in:
Sekwah 2018-08-26 22:07:24 +01:00
parent becd114d87
commit 26f74c9cf6
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse' apply plugin: 'eclipse'
group = 'com.sekwah.advancedportals' group = 'com.sekwah.advancedportals'
version = '0.0.44-snapshot' version = '0.0.45-snapshot'
description = "" description = ""

View File

@ -43,7 +43,7 @@ public class PortalPlacer implements Listener {
event.getBlockPlaced().setType(Material.NETHER_PORTAL); event.getBlockPlaced().setType(Material.NETHER_PORTAL);
} }
else if (name.equals("\u00A78End Portal Block Placer")){ 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")){ else if (name.equals("\u00A78Gateway Block Placer")){
event.getBlockPlaced().setType(Material.END_GATEWAY); event.getBlockPlaced().setType(Material.END_GATEWAY);

View File

@ -1,6 +1,6 @@
main: com.sekwah.advancedportals.AdvancedPortalsPlugin main: com.sekwah.advancedportals.AdvancedPortalsPlugin
name: AdvancedPortals name: AdvancedPortals
version: 0.0.44 version: 0.0.45
author: sekwah41 author: sekwah41
description: An advanced portals plugin for bukkit. description: An advanced portals plugin for bukkit.
api-version: 1.13 api-version: 1.13