Stargate Rewritten

Stargate Rewritten

241 Downloads

Backwards Gate Duplication

Pheotis opened this issue ยท 1 comments

commented
Background

A gate with the B flag is a backwards gate -- you enter it in reverse.

Description

Two back to back backwards gates, spaced one block apart, register as the same gate, and do not produce an error message.

Trace

[11:18:49 INFO]: [Stargate] [Stargate::createPortal] h = false a = false p = false f = false b = true s = false n = false r = false u = false
[11:18:49 INFO]: [Stargate] [Stargate::manualDebug] Point 2: minecraft:dead_tube_coral_wall_fan[facing=north,waterlogged=true]
[11:18:49 INFO]: [Stargate] [Stargate::register] Network dbb not in lookupNamesNet, adding
[11:18:49 INFO]: [Stargate] [Stargate::register] Network dbb not in allPortalsNet, adding
[11:18:49 INFO]: [Stargate] [Stargate::onSignChange] Initialized stargate: 1
[11:18:57 INFO]: [Stargate] [Stargate::createPortal] h = false a = false p = false f = false b = true s = false n = false r = false u = false
[11:18:57 INFO]: [Stargate] [Stargate::manualDebug] Point 2: minecraft:dead_tube_coral_wall_fan[facing=south,waterlogged=true]
[11:18:57 INFO]: [Stargate] [Stargate::onSignChange] Initialized stargate: 2
[11:19:17 INFO]: [Stargate] [Stargate::createPortal] h = false a = false p = false f = false b = true s = false n = false r = false u = false
[11:19:17 INFO]: [Stargate] [Stargate::manualDebug] Point 2: minecraft:dead_tube_coral_wall_fan[facing=west,waterlogged=true]
[11:19:17 INFO]: [Stargate] [Stargate::register] Network dba not in lookupNamesNet, adding
[11:19:17 INFO]: [Stargate] [Stargate::register] Network dba not in allPortalsNet, adding
[11:19:17 INFO]: [Stargate] [Stargate::onSignChange] Initialized stargate: 5
[11:19:26 INFO]: [Stargate] [Stargate::createPortal] h = false a = false p = false f = false b = true s = false n = false r = false u = false
[11:19:26 INFO]: [Stargate] [Stargate::manualDebug] Point 2: minecraft:dead_tube_coral_wall_fan[facing=east,waterlogged=true]
[11:19:26 INFO]: [Stargate] [Stargate::onSignChange] Initialized stargate: 6
[11:19:47 INFO]: [Stargate] [Stargate::createPortal] idParent belongs to existing gate
[11:19:58 INFO]: [Stargate] [Stargate::Unregister] Unregistering gate 1
[11:19:58 WARN]: [Stargate] [Stargate] Sign block is not a Sign object
[11:19:58 INFO]: [Stargate] [Stargate::Portal::drawSign] Block: WATER @ Location{world=CraftWorld{name=lclo},x=-254.0,y=3.0,z=310.0,pitch=0.0,yaw=0.0}
[11:20:07 INFO]: [Stargate] [Stargate::createPortal] h = false a = false p = false f = false b = true s = false n = false r = false u = false
[11:20:07 INFO]: [Stargate] [Stargate::manualDebug] Point 2: minecraft:dead_tube_coral_wall_fan[facing=west,waterlogged=true]

Repro steps

Unknown. Possibly something to do with backwards gates positioned as follows (orthogonal view)

 [] []
<[] []>
 [] []
 [] []
commented

Duplicates #15